function Ready() local Gr = Instance.new("Part",script) Gr.Name = "Ground" Gr.Anchored = true Gr.Locked = true Gr.Size = Vector3.new(40,1,40) Gr.Position = Vector3.new(-20,0.5,20) Gr.BrickColor = BrickColor.new("Dark stone grey") Gr.Material = Enum.Material.DiamondPlate local Gr2 = Gr:Clone() Gr2.Parent = script Gr2.Name = "PlayField" Gr2.Size = Vector3.new(22,0.5,22) Gr2.Position = Vector3.new(-20,1.25,20) Gr2.BrickColor = BrickColor.new("Mid gray") local S1 = Instance.new("Seat",script) S1.Name = "Seat1" S1.Anchored = true S1.Locked = true S1.Size = Vector3.new(4,1,4) S1.Position = Vector3.new(-20,1.5,35) S1.BrickColor = BrickColor.new("Really blue") S1.Material = Enum.Material.SmoothPlastic local A1 = Instance.new("Part",script) A1.Name = "DeflectorA1" A1.Anchored = true A1.Locked = true A1.Size = Vector3.new(4,2,1) A1.CFrame = S1.CFrame * CFrame.new(-5,1,-5) A1.BrickColor = BrickColor.new("Really blue") A1.Material = Enum.Material.Metal local B1 = A1:Clone() B1.Parent = script B1.Name = "DeflectorB1" B1.CFrame = S1.CFrame * CFrame.new(0,1,-5) local C1 = A1:Clone() C1.Parent = script C1.Name = "DeflectorC1" C1.CFrame = S1.CFrame * CFrame.new(5,1,-5) local SGA1 = Instance.new("SurfaceGui",A1) SGA1.Name = "Screen" SGA1.Face = Enum.NormalId.Back SGA1.CanvasSize = Vector2.new(505,125) local TBA1 = Instance.new("TextBox",SGA1) TBA1.Name = "Text" TBA1.TextSize = 60 TBA1.Size = UDim2.new(1,0,1,0) TBA1.BackgroundColor3 = Color3.new(0,1,1) TBA1.TextColor3 = Color3.new() TBA1.TextXAlignment = Enum.TextXAlignment.Right TBA1.TextYAlignment = Enum.TextYAlignment.Top TBA1.Font = Enum.Font.Arcade local SGB1 = SGA1:Clone() SGB1.Parent = B1 local TBB1 = TBA1:Clone() TBB1.Parent = SGB1 TBB1.TextXAlignment = Enum.TextXAlignment.Left local SGC1 = SGA1:Clone() SGC1.Parent = C1 local TBC1 = TBA1:Clone() TBC1.Parent = SGC1 TBC1.TextXAlignment = Enum.TextXAlignment.Left local S2 = Instance.new("Seat",script) S2.Name = "Seat2" S2.Anchored = true S2.Locked = true S2.Size = Vector3.new(4,1,4) S2.Position = Vector3.new(-35,1.5,20) S2.Orientation = Vector3.new(0,-90,0) S2.BrickColor = BrickColor.new("Really red") S2.Material = Enum.Material.SmoothPlastic local A2 = Instance.new("Part",script) A2.Name = "DeflectorA2" A2.Anchored = true A2.Locked = true A2.Size = Vector3.new(4,2,1) A2.CFrame = S2.CFrame * CFrame.new(-5,1,-5) A2.BrickColor = BrickColor.new("Really red") A2.Material = Enum.Material.Metal local B2 = A2:Clone() B2.Parent = script B2.Name = "DeflectorB2" B2.CFrame = S2.CFrame * CFrame.new(0,1,-5) local C2 = A2:Clone() C2.Parent = script C2.Name = "DeflectorC2" C2.CFrame = S2.CFrame * CFrame.new(5,1,-5) local SGA2 = Instance.new("SurfaceGui",A2) SGA2.Name = "Screen" SGA2.Face = Enum.NormalId.Back SGA2.CanvasSize = Vector2.new(505,125) local TBA2 = Instance.new("TextBox",SGA2) TBA2.Name = "Text" TBA2.TextSize = 60 TBA2.Size = UDim2.new(1,0,1,0) TBA2.BackgroundColor3 = Color3.new(1,0,1) TBA2.TextColor3 = Color3.new() TBA2.TextXAlignment = Enum.TextXAlignment.Right TBA2.TextYAlignment = Enum.TextYAlignment.Top TBA2.Font = Enum.Font.Arcade local SGB2 = SGA2:Clone() SGB2.Parent = B2 local TBB2 = TBA2:Clone() TBB2.Parent = SGB2 TBB2.TextXAlignment = Enum.TextXAlignment.Left local SGC2 = SGA2:Clone() SGC2.Parent = C2 local TBC2 = TBA2:Clone() TBC2.Parent = SGC2 TBC2.TextXAlignment = Enum.TextXAlignment.Left local S3 = Instance.new("Seat",script) S3.Name = "Seat3" S3.Anchored = true S3.Locked = true S3.Size = Vector3.new(4,1,4) S3.Position = Vector3.new(-20,1.5,5) S3.Orientation = Vector3.new(0,180,0) S3.BrickColor = BrickColor.new("Lime green") S3.Material = Enum.Material.SmoothPlastic local A3 = Instance.new("Part",script) A3.Name = "DeflectorA3" A3.Anchored = true A3.Locked = true A3.Size = Vector3.new(4,2,1) A3.CFrame = S3.CFrame * CFrame.new(-5,1,-5) A3.BrickColor = BrickColor.new("Lime green") A3.Material = Enum.Material.Metal local B3 = A3:Clone() B3.Parent = script B3.Name = "DeflectorB3" B3.CFrame = S3.CFrame * CFrame.new(0,1,-5) local C3 = A3:Clone() C3.Parent = script C3.Name = "DeflectorC3" C3.CFrame = S3.CFrame * CFrame.new(5,1,-5) local SGA3 = Instance.new("SurfaceGui",A3) SGA3.Name = "Screen" SGA3.Face = Enum.NormalId.Back SGA3.CanvasSize = Vector2.new(505,125) local TBA3 = Instance.new("TextBox",SGA3) TBA3.Name = "Text" TBA3.TextSize = 60 TBA3.Size = UDim2.new(1,0,1,0) TBA3.BackgroundColor3 = Color3.new(0,1,0) TBA3.TextColor3 = Color3.new() TBA3.TextXAlignment = Enum.TextXAlignment.Right TBA3.TextYAlignment = Enum.TextYAlignment.Top TBA3.Font = Enum.Font.Arcade local SGB3 = SGA3:Clone() SGB3.Parent = B3 local TBB3 = TBA3:Clone() TBB3.Parent = SGB3 TBB3.TextXAlignment = Enum.TextXAlignment.Left local SGC3 = SGA3:Clone() SGC3.Parent = C3 local TBC3 = TBA3:Clone() TBC3.Parent = SGC3 TBC3.TextXAlignment = Enum.TextXAlignment.Left local S4 = Instance.new("Seat",script) S4.Name = "Seat4" S4.Anchored = true S4.Locked = true S4.Size = Vector3.new(4,1,4) S4.Position = Vector3.new(-5,1.5,20) S4.Orientation = Vector3.new(0,90,0) S4.BrickColor = BrickColor.new("New Yeller") S4.Material = Enum.Material.SmoothPlastic local A4 = Instance.new("Part",script) A4.Name = "DeflectorA4" A4.Anchored = true A4.Locked = true A4.Size = Vector3.new(4,2,1) A4.CFrame = S4.CFrame * CFrame.new(-5,1,-5) A4.BrickColor = BrickColor.new("New Yeller") A4.Material = Enum.Material.Metal local B4 = A4:Clone() B4.Parent = script B4.Name = "DeflectorB4" B4.CFrame = S4.CFrame * CFrame.new(0,1,-5) local C4 = A4:Clone() C4.Parent = script C4.Name = "DeflectorC4" C4.CFrame = S4.CFrame * CFrame.new(5,1,-5) local SGA4 = Instance.new("SurfaceGui",A4) SGA4.Name = "Screen" SGA4.Face = Enum.NormalId.Back SGA4.CanvasSize = Vector2.new(505,125) local TBA4 = Instance.new("TextBox",SGA4) TBA4.Name = "Text" TBA4.TextSize = 60 TBA4.Size = UDim2.new(1,0,1,0) TBA4.BackgroundColor3 = Color3.new(1,1,0) TBA4.TextColor3 = Color3.new() TBA4.TextXAlignment = Enum.TextXAlignment.Right TBA4.TextYAlignment = Enum.TextYAlignment.Top TBA4.Font = Enum.Font.Arcade local SGB4 = SGA4:Clone() SGB4.Parent = B4 local TBB4 = TBA4:Clone() TBB4.Parent = SGB4 TBB4.TextXAlignment = Enum.TextXAlignment.Left local SGC4 = SGA4:Clone() SGC4.Parent = C4 local TBC4 = TBA4:Clone() TBC4.Parent = SGC4 TBC4.TextXAlignment = Enum.TextXAlignment.Left TBA1.Text = [[JJK83's Quad-Blip]] TBB1.Text = [[Hold movements on seat to]] TBC1.Text = [[move deflector to block ball]] TBA2.Text = [[JJK83's Quad-Blip]] TBB2.Text = [[Hold movements on seat to]] TBC2.Text = [[move deflector to block ball]] TBA3.Text = [[JJK83's Quad-Blip]] TBB3.Text = [[Hold movements on seat to]] TBC3.Text = [[move deflector to block ball]] TBA4.Text = [[JJK83's Quad-Blip]] TBB4.Text = [[Hold movements on seat to]] TBC4.Text = [[move deflector to block ball]] wait(5) TBA1.Text = [[>P1 4 P2 4]] TBC1.Text = [[ P3 4 P4 4]] TBA2.Text = [[ P1 4 >P2 4]] TBC2.Text = [[ P3 4 P4 4]] TBA3.Text = [[ P1 4 P2 4]] TBC3.Text = [[>P3 4 P4 4]] TBA4.Text = [[ P1 4 P2 4]] TBC4.Text = [[ P3 4 >P4 4]] for i = 1,10 do TBB1.Text = "Intermission "..11-i..[[ <- Chances ->]] TBB2.Text = "Intermission "..11-i..[[ <- Chances ->]] TBB3.Text = "Intermission "..11-i..[[ <- Chances ->]] TBB4.Text = "Intermission "..11-i..[[ <- Chances ->]] wait(1) end local SoundA = Instance.new("Sound",Gr) SoundA.SoundId = "rbxasset://sounds/bass.mp3" SoundA.Volume = 1.2 SoundA.Looped = true local SoundB = Instance.new("Sound",Gr) SoundB.SoundId = "rbxasset://sounds/electronicpingshort.wav" SoundB.Volume = 1.2 local SoundC = Instance.new("Sound",Gr) SoundC.SoundId = "rbxasset://sounds/snap.mp3" SoundC.Volume = 1.2 local Liv1 = 4 local Liv2 = 4 local Liv3 = 4 local Liv4 = 4 local Pos = Vector3.new() local Dist = 24 local Sped = 1 local Order = 1 local Targ = 1 local CP1 = true local CP2 = true local CP3 = true local CP4 = true local BallCount = 0 local Hits1 = 0 local Hits2 = 0 local Hits3 = 0 local Hits4 = 0 local Skill1 = 0 local Skill2 = 0 local Skill3 = 0 local Skill4 = 0 local function PlayCount() local Counted = 0 if Liv1 > 0 then Counted = Counted + 1 end if Liv2 > 0 then Counted = Counted + 1 end if Liv3 > 0 then Counted = Counted + 1 end if Liv4 > 0 then Counted = Counted + 1 end return Counted end while PlayCount() > 1 do TBA1.Text = ">P1 "..Liv1..[[ P2 ]]..Liv2 TBC1.Text = " P3 "..Liv3..[[ P4 ]]..Liv4 TBA2.Text = " P1 "..Liv1..[[ >P2 ]]..Liv2 TBC2.Text = " P3 "..Liv3..[[ P4 ]]..Liv4 TBA3.Text = " P1 "..Liv1..[[ P2 ]]..Liv2 TBC3.Text = ">P3 "..Liv3..[[ P4 ]]..Liv4 TBA4.Text = " P1 "..Liv1..[[ P2 ]]..Liv2 TBC4.Text = " P3 "..Liv3..[[ >P4 ]]..Liv4 BallCount = BallCount + 1 TBB1.Text = "Ball "..BallCount..[[ <- Chances ->]] TBB2.Text = "Ball "..BallCount..[[ <- Chances ->]] TBB3.Text = "Ball "..BallCount..[[ <- Chances ->]] TBB4.Text = "Ball "..BallCount..[[ <- Chances ->]] A1.Material = Enum.Material.Metal B1.Material = Enum.Material.Metal C1.Material = Enum.Material.Metal A2.Material = Enum.Material.Metal B2.Material = Enum.Material.Metal C2.Material = Enum.Material.Metal A3.Material = Enum.Material.Metal B3.Material = Enum.Material.Metal C3.Material = Enum.Material.Metal A4.Material = Enum.Material.Metal B4.Material = Enum.Material.Metal C4.Material = Enum.Material.Metal if Liv1 <= 0 then A1.BrickColor = BrickColor.new("Dark stone grey") B1.BrickColor = BrickColor.new("Dark stone grey") C1.BrickColor = BrickColor.new("Dark stone grey") end if Liv2 <= 0 then A2.BrickColor = BrickColor.new("Dark stone grey") B2.BrickColor = BrickColor.new("Dark stone grey") C2.BrickColor = BrickColor.new("Dark stone grey") end if Liv3 <= 0 then A3.BrickColor = BrickColor.new("Dark stone grey") B3.BrickColor = BrickColor.new("Dark stone grey") C3.BrickColor = BrickColor.new("Dark stone grey") end if Liv4 <= 0 then A4.BrickColor = BrickColor.new("Dark stone grey") B4.BrickColor = BrickColor.new("Dark stone grey") C4.BrickColor = BrickColor.new("Dark stone grey") end local Ball = Instance.new("Part",script) Ball.Name = "Ball" Ball.Anchored = true Ball.Locked = true Ball.CanCollide = false Ball.Size = Vector3.new(2,2,2) Ball.Shape = Enum.PartType.Ball Ball.BrickColor = BrickColor.new("White") Ball.Material = Enum.Material.Neon Ball.Transparency = 1 Order = math.random(1,4) if Order == 1 then Ball.Position = Gr.Position + Vector3.new(0,5,5) elseif Order == 2 then Ball.Position = Gr.Position + Vector3.new(-5,5,0) elseif Order == 3 then Ball.Position = Gr.Position + Vector3.new(0,5,-5) elseif Order == 4 then Ball.Position = Gr.Position + Vector3.new(5,5,0) end Dist = 0 SoundA.Volume = 1.2 for e = 1,30 do Sped = 1+e*0.125 Dist = Dist - Sped if Dist <= 0 then Dist = 3 Order = Order + 1 if Order > 4 then Order = 1 end if Order == 1 then Pos = Gr.Position + Vector3.new(0,5,5) elseif Order == 2 then Pos = Gr.Position + Vector3.new(-5,5,0) elseif Order == 3 then Pos = Gr.Position + Vector3.new(0,5,-5) elseif Order == 4 then Pos = Gr.Position + Vector3.new(5,5,0) end end SoundA.PlaybackSpeed = e * 0.5 SoundA.TimePosition = 0.2 SoundA:Play() SoundB.PlaybackSpeed = e * 0.3 SoundB.TimePosition = 0.2 SoundB:Play() Ball.Transparency = (30-e)/30 Ball.Position = Ball.Position + (Pos - Ball.Position)/(8/Sped) wait(0.0625) end spawn(function() SoundB.PlaybackSpeed = 2 SoundB.TimePosition = 0.2 SoundB:Play() for i = 1,30 do SoundC.PlaybackSpeed = 1.5 - i * 0.033 SoundC.TimePosition = 0.2 SoundC:Play() wait(0.04) end end) Dist = 24 Sped = 1 Targ = math.random(1,3) local Hit1 = 0 local Hit2 = 0 local Hit3 = 0 local Hit4 = 0 local Fast1 = 0 local Fast2 = 0 local Fast3 = 0 local Fast4 = 0 local Def1 = 2 local Def2 = 2 local Def3 = 2 local Def4 = 2 local Miss = 0 local CPUMiss = math.random(1,20) local MissDir = math.random(1,3) while Miss == 0 do TBA1.Text = ">P1 "..(Hits1+Hit1)*50+Skill1+Fast1..[[ P2 ]]..(Hits2+Hit2)*50+Skill2+Fast2 TBC1.Text = " P3 "..(Hits3+Hit3)*50+Skill3+Fast3..[[ P4 ]]..(Hits4+Hit4)*50+Skill4+Fast4 TBA2.Text = " P1 "..(Hits1+Hit1)*50+Skill1+Fast1..[[ >P2 ]]..(Hits2+Hit2)*50+Skill2+Fast2 TBC2.Text = " P3 "..(Hits3+Hit3)*50+Skill3+Fast3..[[ P4 ]]..(Hits4+Hit4)*50+Skill4+Fast4 TBA3.Text = " P1 "..(Hits1+Hit1)*50+Skill1+Fast1..[[ P2 ]]..(Hits2+Hit2)*50+Skill2+Fast2 TBC3.Text = ">P3 "..(Hits3+Hit3)*50+Skill3+Fast3..[[ P4 ]]..(Hits4+Hit4)*50+Skill4+Fast4 TBA4.Text = " P1 "..(Hits1+Hit1)*50+Skill1+Fast1..[[ P2 ]]..(Hits2+Hit2)*50+Skill2+Fast2 TBC4.Text = " P3 "..(Hits3+Hit3)*50+Skill3+Fast3..[[ >P4 ]]..(Hits4+Hit4)*50+Skill4+Fast4 TBB1.Text = "Hits "..Hit1+Hit2+Hit3+Hit4..[[ <- Score ->]] TBB2.Text = "Hits "..Hit1+Hit2+Hit3+Hit4..[[ <- Score ->]] TBB3.Text = "Hits "..Hit1+Hit2+Hit3+Hit4..[[ <- Score ->]] TBB4.Text = "Hits "..Hit1+Hit2+Hit3+Hit4..[[ <- Score ->]] if Order == 1 then Ball.BrickColor = BrickColor.new("Really blue") if Targ == 1 then Pos = A1.Position + A1.CFrame.LookVector elseif Targ == 2 then Pos = B1.Position + B1.CFrame.LookVector elseif Targ == 3 then Pos = C1.Position + C1.CFrame.LookVector end elseif Order == 2 then Ball.BrickColor = BrickColor.new("Really red") if Targ == 1 then Pos = A2.Position + A2.CFrame.LookVector elseif Targ == 2 then Pos = B2.Position + B2.CFrame.LookVector elseif Targ == 3 then Pos = C2.Position + C2.CFrame.LookVector end elseif Order == 3 then Ball.BrickColor = BrickColor.new("Lime green") if Targ == 1 then Pos = A3.Position + A3.CFrame.LookVector elseif Targ == 2 then Pos = B3.Position + B3.CFrame.LookVector elseif Targ == 3 then Pos = C3.Position + C3.CFrame.LookVector end else Ball.BrickColor = BrickColor.new("New Yeller") if Targ == 1 then Pos = A4.Position + A4.CFrame.LookVector elseif Targ == 2 then Pos = B4.Position + B4.CFrame.LookVector elseif Targ == 3 then Pos = C4.Position + C4.CFrame.LookVector end end if Liv1 > 0 then Def1 = 2 local Oc1 = S1.Occupant if Oc1 and Oc1.Parent then if game:GetService("Players"):GetPlayerFromCharacter(Oc1.Parent) then CP1 = false if Oc1.MoveDirection.X < -0.5 then Def1 = 1 elseif Oc1.MoveDirection.X > 0.5 then Def1 = 3 end else Oc1.Sit = false end end if CP1 then if Order == 1 and Dist < 6 then if CPUMiss == 1 then Def1 = MissDir else Def1 = Targ end end end A1.BrickColor = BrickColor.new("Really blue") B1.BrickColor = BrickColor.new("Really blue") C1.BrickColor = BrickColor.new("Really blue") A1.Material = Enum.Material.Metal B1.Material = Enum.Material.Metal C1.Material = Enum.Material.Metal if Def1 == 1 then A1.Material = Enum.Material.Neon if Order == 1 and Def1 == Targ then A1.BrickColor = BrickColor.new("White") Fast1 = Fast1 + 1 end elseif Def1 == 2 then B1.Material = Enum.Material.Neon if Order == 1 and Def1 == Targ then B1.BrickColor = BrickColor.new("White") Fast1 = Fast1 + 1 end else C1.Material = Enum.Material.Neon if Order == 1 and Def1 == Targ then C1.BrickColor = BrickColor.new("White") Fast1 = Fast1 + 1 end end end if Liv2 > 0 then Def2 = 2 local Oc2 = S2.Occupant if Oc2 and Oc2.Parent then if game:GetService("Players"):GetPlayerFromCharacter(Oc2.Parent) then CP2 = false if Oc2.MoveDirection.Z < -0.5 then Def2 = 1 elseif Oc2.MoveDirection.Z > 0.5 then Def2 = 3 end else Oc2.Sit = false end end if CP2 then if Order == 2 and Dist < 6 then if CPUMiss == 1 then Def2 = MissDir else Def2 = Targ end end end A2.BrickColor = BrickColor.new("Really red") B2.BrickColor = BrickColor.new("Really red") C2.BrickColor = BrickColor.new("Really red") A2.Material = Enum.Material.Metal B2.Material = Enum.Material.Metal C2.Material = Enum.Material.Metal if Def2 == 1 then A2.Material = Enum.Material.Neon if Order == 2 and Def2 == Targ then A2.BrickColor = BrickColor.new("White") Fast2 = Fast2 + 1 end elseif Def2 == 2 then B2.Material = Enum.Material.Neon if Order == 2 and Def2 == Targ then B2.BrickColor = BrickColor.new("White") Fast2 = Fast2 + 1 end else C2.Material = Enum.Material.Neon if Order == 2 and Def2 == Targ then C2.BrickColor = BrickColor.new("White") Fast2 = Fast2 + 1 end end end if Liv3 > 0 then Def3 = 2 local Oc3 = S3.Occupant if Oc3 and Oc3.Parent then if game:GetService("Players"):GetPlayerFromCharacter(Oc3.Parent) then CP3 = false if Oc3.MoveDirection.X > 0.5 then Def3 = 1 elseif Oc3.MoveDirection.X < -0.5 then Def3 = 3 end else Oc3.Sit = false end end if CP3 then if Order == 3 and Dist < 6 then if CPUMiss == 1 then Def3 = MissDir else Def3 = Targ end end end A3.BrickColor = BrickColor.new("Lime green") B3.BrickColor = BrickColor.new("Lime green") C3.BrickColor = BrickColor.new("Lime green") A3.Material = Enum.Material.Metal B3.Material = Enum.Material.Metal C3.Material = Enum.Material.Metal if Def3 == 1 then A3.Material = Enum.Material.Neon if Order == 3 and Def3 == Targ then A3.BrickColor = BrickColor.new("White") Fast3 = Fast3 + 1 end elseif Def3 == 2 then B3.Material = Enum.Material.Neon if Order == 3 and Def3 == Targ then B3.BrickColor = BrickColor.new("White") Fast3 = Fast3 + 1 end else C3.Material = Enum.Material.Neon if Order == 3 and Def3 == Targ then C3.BrickColor = BrickColor.new("White") Fast3 = Fast3 + 1 end end end if Liv4 > 0 then Def4 = 2 local Oc4 = S4.Occupant if Oc4 and Oc4.Parent then if game:GetService("Players"):GetPlayerFromCharacter(Oc4.Parent) then CP4 = false if Oc4.MoveDirection.Z > 0.5 then Def4 = 1 elseif Oc4.MoveDirection.Z < -0.5 then Def4 = 3 end else Oc4.Sit = false end end if CP4 then if Order == 4 and Dist < 6 then if CPUMiss == 1 then Def4 = MissDir else Def4 = Targ end end end A4.BrickColor = BrickColor.new("New Yeller") B4.BrickColor = BrickColor.new("New Yeller") C4.BrickColor = BrickColor.new("New Yeller") A4.Material = Enum.Material.Metal B4.Material = Enum.Material.Metal C4.Material = Enum.Material.Metal if Def4 == 1 then A4.Material = Enum.Material.Neon if Order == 4 and Def4 == Targ then A4.BrickColor = BrickColor.new("White") Fast4 = Fast4 + 1 end elseif Def4 == 2 then B4.Material = Enum.Material.Neon if Order == 4 and Def4 == Targ then B4.BrickColor = BrickColor.new("White") Fast4 = Fast4 + 1 end else C4.Material = Enum.Material.Neon if Order == 4 and Def4 == Targ then C4.BrickColor = BrickColor.new("White") Fast4 = Fast4 + 1 end end end Dist = Dist - Sped if Dist <= 0 then if Order == 1 and Liv1 > 0 then if Def1 == Targ then Hit1 = Hit1 + 1 else Miss = 1 end elseif Order == 2 and Liv2 > 0 then if Def2 == Targ then Hit2 = Hit2 + 1 else Miss = 2 end elseif Order == 3 and Liv3 > 0 then if Def3 == Targ then Hit3 = Hit3 + 1 else Miss = 3 end elseif Order == 4 and Liv4 > 0 then if Def4 == Targ then Hit4 = Hit4 + 1 else Miss = 4 end end if Miss == 0 then spawn(function() SoundC.PlaybackSpeed = 0.8 SoundC.TimePosition = 0.1 SoundC:Play() wait(0.1) SoundC.PlaybackSpeed = 1.2 SoundC.TimePosition = 0.1 SoundC:Play() end) Dist = 24 Sped = Sped+0.0625 Targ = math.random(1,3) if Sped > 2.2 then Sped = 2.2 end CPUMiss = math.random(1,20) MissDir = math.random(1,3) Order = Order + 1 if Order > 4 then Order = 1 end end end SoundA.PlaybackSpeed = Sped * 0.6 SoundA.TimePosition = 0.2 SoundA.Volume = (24-Dist)/20 SoundA:Play() Ball.Position = Ball.Position + (Pos - Ball.Position)/(8/Sped) wait(0.0625) end local UseName = "" if Miss == 1 then Liv1 = Liv1 - 1 TBB1.Text = "Hits "..Hit1+Hit2+Hit3+Hit4..[[ Ooooops!! ]] if S1.Occupant and S1.Occupant.Parent then UseName = S1.Occupant.Parent.Name elseif CP1 then UseName = "CPU 1" else UseName = "Player 1" end elseif Miss == 2 then Liv2 = Liv2 - 1 TBB2.Text = "Hits "..Hit1+Hit2+Hit3+Hit4..[[ Ooooops!! ]] if S2.Occupant and S2.Occupant.Parent then UseName = S2.Occupant.Parent.Name elseif CP2 then UseName = "CPU 2" else UseName = "Player 2" end elseif Miss == 3 then Liv3 = Liv3 - 1 TBB3.Text = "Hits "..Hit1+Hit2+Hit3+Hit4..[[ Ooooops!! ]] if S3.Occupant and S3.Occupant.Parent then UseName = S3.Occupant.Parent.Name elseif CP3 then UseName = "CPU 3" else UseName = "Player 3" end elseif Miss == 4 then Liv4 = Liv4 - 1 TBB4.Text = "Hits "..Hit1+Hit2+Hit3+Hit4..[[ Ooooops!! ]] if S4.Occupant and S4.Occupant.Parent then UseName = S4.Occupant.Parent.Name elseif CP4 then UseName = "CPU 4" else UseName = "Player 4" end end SoundA:Stop() SoundB.PlaybackSpeed = 1 SoundB.TimePosition = 0.2 SoundB:Play() wait(0.06) SoundB.PlaybackSpeed = 1.75 SoundB.TimePosition = 0.2 SoundB:Play() wait(0.5) TBB1.Text = UseName..[[ missed! (]]..Hit1+Hit2+Hit3+Hit4..")" TBB2.Text = UseName..[[ missed! (]]..Hit1+Hit2+Hit3+Hit4..")" TBB3.Text = UseName..[[ missed! (]]..Hit1+Hit2+Hit3+Hit4..")" TBB4.Text = UseName..[[ missed! (]]..Hit1+Hit2+Hit3+Hit4..")" spawn(function() spawn(function() for i = 1,2 do SoundC.PlaybackSpeed = 0.8 SoundC.TimePosition = 0.2 SoundC:Play() wait(0.04) end for i = 1,10 do SoundC.PlaybackSpeed = 0.325 - i * 0.02 SoundC.TimePosition = 0.2 SoundC:Play() wait(0.04) end end) end) for i = 1,20 do Ball.Transparency = Ball.Transparency + 0.05 Ball.Size = Ball.Size + Vector3.new(2,2,2) wait(0.0625) end Ball:Destroy() Hits1 = Hits1+Hit1 Hits2 = Hits2+Hit2 Hits3 = Hits3+Hit3 Hits4 = Hits4+Hit4 Skill1 = Skill1+Fast1 Skill2 = Skill2+Fast2 Skill3 = Skill3+Fast3 Skill4 = Skill4+Fast4 warn("Ball "..BallCount) warn("Miss "..Miss) print("Hit "..Hit1..", "..Hit2..", "..Hit3..", "..Hit4.." = "..Hit1+Hit2+Hit3+Hit4) print("Skill "..Fast1..", "..Fast2..", "..Fast3..", "..Fast4) print("Chances "..Liv1..", "..Liv2..", "..Liv3..", "..Liv4) local Gone = false if Miss == 1 and Liv1 == 0 then Gone = true TBB1.Text = "Hits "..Hit1+Hit2+Hit3+Hit4..[[ Lost. Oh well..]] A1.BrickColor = BrickColor.new("Dark stone grey") B1.BrickColor = BrickColor.new("Dark stone grey") C1.BrickColor = BrickColor.new("Dark stone grey") A1.Material = Enum.Material.Metal B1.Material = Enum.Material.Metal C1.Material = Enum.Material.Metal elseif Miss == 2 and Liv2 == 0 then Gone = true TBB2.Text = "Hits "..Hit1+Hit2+Hit3+Hit4..[[ Lost. Oh well..]] A2.BrickColor = BrickColor.new("Dark stone grey") B2.BrickColor = BrickColor.new("Dark stone grey") C2.BrickColor = BrickColor.new("Dark stone grey") A2.Material = Enum.Material.Metal B2.Material = Enum.Material.Metal C2.Material = Enum.Material.Metal elseif Miss == 3 and Liv3 == 0 then Gone = true TBB3.Text = "Hits "..Hit1+Hit2+Hit3+Hit4..[[ Lost. Oh well..]] A3.BrickColor = BrickColor.new("Dark stone grey") B3.BrickColor = BrickColor.new("Dark stone grey") C3.BrickColor = BrickColor.new("Dark stone grey") A3.Material = Enum.Material.Metal B3.Material = Enum.Material.Metal C3.Material = Enum.Material.Metal elseif Miss == 4 and Liv4 == 0 then Gone = true TBB4.Text = "Hits "..Hit1+Hit2+Hit3+Hit4..[[ Lost. Oh well..]] A4.BrickColor = BrickColor.new("Dark stone grey") B4.BrickColor = BrickColor.new("Dark stone grey") C4.BrickColor = BrickColor.new("Dark stone grey") A4.Material = Enum.Material.Metal B4.Material = Enum.Material.Metal C4.Material = Enum.Material.Metal end if Gone then for e = 1,20 do SoundC.PlaybackSpeed = 0.7-e*0.025 SoundC.TimePosition = 0.2 SoundC:Play() wait(0.06) end end wait(0.5) end spawn(function() SoundB.Looped = true for i = 1,2 do SoundB.PlaybackSpeed = 1.35 SoundB.TimePosition = 0.2 SoundB:Play() wait(0.06) end for i = 1,2 do SoundB.PlaybackSpeed = 2.25 SoundB.TimePosition = 0.2 SoundB:Play() wait(0.06) end for i = 1,2 do SoundB.PlaybackSpeed = 2.7 SoundB.TimePosition = 0.2 SoundB:Play() wait(0.06) end for i = 1,4 do SoundB.PlaybackSpeed = 3.6 SoundB.TimePosition = 0.2 SoundB:Play() wait(0.06) end for i = 1,2 do SoundB.PlaybackSpeed = 2.7 SoundB.TimePosition = 0.2 SoundB:Play() wait(0.06) end for i = 1,12 do SoundB.PlaybackSpeed = 3.6 SoundB.TimePosition = 0.2 SoundB:Play() wait(0.06) end SoundA.SoundId = "rbxasset://sounds/electronicpingshort.wav" SoundA.Looped = true for i = 1,8 do SoundA.PlaybackSpeed = 2.7 SoundB.PlaybackSpeed = SoundA.PlaybackSpeed*2 SoundA.TimePosition = 0.2 SoundB.TimePosition = 0.2 SoundA:Play() SoundB:Play() wait(0.06) end for i = 1,10 do SoundA.PlaybackSpeed = 2.4 SoundB.PlaybackSpeed = SoundA.PlaybackSpeed*2 SoundA.TimePosition = 0.2 SoundB.TimePosition = 0.2 SoundA:Play() SoundB:Play() wait(0.06) end for i = 1,40 do SoundA.PlaybackSpeed = 2.3 SoundB.PlaybackSpeed = SoundA.PlaybackSpeed*2 SoundA.TimePosition = 0.2 SoundB.TimePosition = 0.2 SoundA:Play() SoundB:Play() wait(0.06) end SoundA:Stop() SoundB:Stop() end) if Liv1 > 0 then local UseName = "" if S1.Occupant and S1.Occupant.Parent then UseName = S1.Occupant.Parent.Name elseif CP1 then UseName = "CPU 1" else UseName = "Player 1" end local Txx = [[Congrats, ]]..UseName.."!" TBB1.Text = Txx TBB2.Text = Txx TBB3.Text = Txx TBB4.Text = Txx wait(4) Txx = Liv1.."*1000="..(Liv1*1000)..[[ chance bonus]] TBB1.Text = Txx TBB2.Text = Txx TBB3.Text = Txx TBB4.Text = Txx wait(5) end if Liv2 > 0 then local UseName = "" if S2.Occupant and S2.Occupant.Parent then UseName = S2.Occupant.Parent.Name elseif CP2 then UseName = "CPU 2" else UseName = "Player 2" end local Txx = [[Congrats, ]]..UseName.."!" TBB1.Text = Txx TBB2.Text = Txx TBB3.Text = Txx TBB4.Text = Txx wait(4) Txx = Liv2.."*1000="..(Liv2*1000)..[[ chance bonus]] TBB1.Text = Txx TBB2.Text = Txx TBB3.Text = Txx TBB4.Text = Txx wait(5) end if Liv3 > 0 then local UseName = "" if S3.Occupant and S3.Occupant.Parent then UseName = S3.Occupant.Parent.Name elseif CP3 then UseName = "CPU 3" else UseName = "Player 3" end local Txx = [[Congrats, ]]..UseName.."!" TBB1.Text = Txx TBB2.Text = Txx TBB3.Text = Txx TBB4.Text = Txx wait(4) Txx = Liv3.."*1000="..(Liv3*1000)..[[ chance bonus]] TBB1.Text = Txx TBB2.Text = Txx TBB3.Text = Txx TBB4.Text = Txx wait(5) end if Liv4 > 0 then local UseName = "" if S4.Occupant and S4.Occupant.Parent then UseName = S4.Occupant.Parent.Name elseif CP4 then UseName = "CPU 4" else UseName = "Player 4" end local Txx = [[Congrats, ]]..UseName.."!" TBB1.Text = Txx TBB2.Text = Txx TBB3.Text = Txx TBB4.Text = Txx wait(4) Txx = Liv4.."*1000="..(Liv4*1000)..[[ chance bonus]] TBB1.Text = Txx TBB2.Text = Txx TBB3.Text = Txx TBB4.Text = Txx wait(5) end TBA1.Text = ">P1 "..Liv1*1000+Hits1*50+Skill1..[[ P2 ]]..Liv2*1000+Hits2*50+Skill2 TBC1.Text = " P3 "..Liv3*1000+Hits3*50+Skill3..[[ P4 ]]..Liv4*1000+Hits4*50+Skill4 TBA2.Text = " P1 "..Liv1*1000+Hits1*50+Skill1..[[ >P2 ]]..Liv2*1000+Hits2*50+Skill2 TBC2.Text = " P3 "..Liv3*1000+Hits3*50+Skill3..[[ P4 ]]..Liv4*1000+Hits4*50+Skill4 TBA3.Text = " P1 "..Liv1*1000+Hits1*50+Skill1..[[ P2 ]]..Liv2*1000+Hits2*50+Skill2 TBC3.Text = ">P3 "..Liv3*1000+Hits3*50+Skill3..[[ P4 ]]..Liv4*1000+Hits4*50+Skill4 TBA4.Text = " P1 "..Liv1*1000+Hits1*50+Skill1..[[ P2 ]]..Liv2*1000+Hits2*50+Skill2 TBC4.Text = " P3 "..Liv3*1000+Hits3*50+Skill3..[[ >P4 ]]..Liv4*1000+Hits4*50+Skill4 local Oc1 = S1.Occupant if Oc1 and Oc1.Parent then if game:GetService("Players"):GetPlayerFromCharacter(Oc1.Parent) then local Tool = Instance.new("Tool",game:GetService("Players"):GetPlayerFromCharacter(Oc1.Parent).Backpack) Tool.Name = "Total Score = "..Liv1*1000+Hits1*50+Skill1 Tool.GripPos = Vector3.new(0.25,-0.4,0.05) local Handle = Instance.new("Part",Tool) Handle.Name = "Handle" Handle.Size = Vector3.new(1,0.75,0.1) Handle.Material = Enum.Material.SmoothPlastic Handle.BrickColor = BrickColor.new("Brick yellow") Tool.ToolTip = game:GetService("Players"):GetPlayerFromCharacter(Oc1.Parent).Name.." / P1 / Lives: "..Liv1.."*1000 = "..(Liv1*1000).." / Hits: "..Hits1.."*50 = "..(Hits1*50).." / Skill = "..Skill1.." / Total = "..Liv1*1000+Hits1*50+Skill1 end end local Oc2 = S2.Occupant if Oc2 and Oc2.Parent then if game:GetService("Players"):GetPlayerFromCharacter(Oc2.Parent) then local Tool = Instance.new("Tool",game:GetService("Players"):GetPlayerFromCharacter(Oc2.Parent).Backpack) Tool.Name = "Total Score = "..Liv2*1000+Hits2*50+Skill2 Tool.GripPos = Vector3.new(0.25,-0.4,0.05) local Handle = Instance.new("Part",Tool) Handle.Name = "Handle" Handle.Size = Vector3.new(1,0.75,0.1) Handle.Material = Enum.Material.SmoothPlastic Handle.BrickColor = BrickColor.new("Brick yellow") Tool.ToolTip = game:GetService("Players"):GetPlayerFromCharacter(Oc2.Parent).Name.." / P2 / Lives: "..Liv2.."*1000 = "..(Liv2*1000).." / Hits: "..Hits2.."*50 = "..(Hits2*50).." / Skill = "..Skill2.." / Total = "..Liv2*1000+Hits2*50+Skill2 end end local Oc3 = S3.Occupant if Oc3 and Oc3.Parent then if game:GetService("Players"):GetPlayerFromCharacter(Oc3.Parent) then local Tool = Instance.new("Tool",game:GetService("Players"):GetPlayerFromCharacter(Oc3.Parent).Backpack) Tool.Name = "Total Score = "..Liv3*1000+Hits3*50+Skill3 Tool.GripPos = Vector3.new(0.25,-0.4,0.05) local Handle = Instance.new("Part",Tool) Handle.Name = "Handle" Handle.Size = Vector3.new(1,0.75,0.1) Handle.Material = Enum.Material.SmoothPlastic Handle.BrickColor = BrickColor.new("Brick yellow") Tool.ToolTip = game:GetService("Players"):GetPlayerFromCharacter(Oc3.Parent).Name.." / P3 / Lives: "..Liv3.."*1000 = "..(Liv3*1000).." / Hits: "..Hits3.."*50 = "..(Hits3*50).." / Skill = "..Skill3.." / Total = "..Liv3*1000+Hits3*50+Skill3 end end local Oc4 = S4.Occupant if Oc4 and Oc4.Parent then if game:GetService("Players"):GetPlayerFromCharacter(Oc4.Parent) then local Tool = Instance.new("Tool",game:GetService("Players"):GetPlayerFromCharacter(Oc4.Parent).Backpack) Tool.Name = "Total Score = "..Liv4*1000+Hits4*50+Skill4 Tool.GripPos = Vector3.new(0.25,-0.4,0.05) local Handle = Instance.new("Part",Tool) Handle.Name = "Handle" Handle.Size = Vector3.new(1,0.75,0.1) Handle.Material = Enum.Material.SmoothPlastic Handle.BrickColor = BrickColor.new("Brick yellow") Tool.ToolTip = game:GetService("Players"):GetPlayerFromCharacter(Oc4.Parent).Name.." / P4 / Lives: "..Liv4.."*1000 = "..(Liv4*1000).." / Hits: "..Hits4.."*50 = "..(Hits2*50).." / Skill = "..Skill4.." / Total = "..Liv4*1000+Hits4*50+Skill4 end end warn("Ball "..BallCount) print("Hits "..Hits1..", "..Hits2..", "..Hits3..", "..Hits4.." = "..Hits1+Hits2+Hits3+Hits4) print("Skill "..Skill1..", "..Skill2..", "..Skill3..", "..Skill4) print("Chances "..Liv1..", "..Liv2..", "..Liv3..", "..Liv4) print("Score 1 "..Liv1*1000+Hits1*50+Skill1) print("Score 2 "..Liv2*1000+Hits2*50+Skill2) print("Score 3 "..Liv3*1000+Hits3*50+Skill3) print("Score 4 "..Liv4*1000+Hits4*50+Skill4) TBB1.Text = "Total balls: "..BallCount..[[ Total hits: ]]..Hits1+Hits2+Hits3+Hits4 TBB2.Text = "Total balls: "..BallCount..[[ Total hits: ]]..Hits1+Hits2+Hits3+Hits4 TBB3.Text = "Total balls: "..BallCount..[[ Total hits: ]]..Hits1+Hits2+Hits3+Hits4 TBB4.Text = "Total balls: "..BallCount..[[ Total hits: ]]..Hits1+Hits2+Hits3+Hits4 wait(8) A1.Material = Enum.Material.Metal B1.Material = Enum.Material.Metal C1.Material = Enum.Material.Metal A2.Material = Enum.Material.Metal B2.Material = Enum.Material.Metal C2.Material = Enum.Material.Metal A3.Material = Enum.Material.Metal B3.Material = Enum.Material.Metal C3.Material = Enum.Material.Metal A4.Material = Enum.Material.Metal B4.Material = Enum.Material.Metal C4.Material = Enum.Material.Metal for i = 1,15 do TBB1.Text = "Intermission "..31-i..[[ <- Score ->]] TBB2.Text = "Intermission "..31-i..[[ <- Score ->]] TBB3.Text = "Intermission "..31-i..[[ <- Score ->]] TBB4.Text = "Intermission "..31-i..[[ <- Score ->]] wait(1) end script:ClearAllChildren() end while true do Ready() end